timezone_identifiers_list
Alias for DateTimeZone::listIdentifiers - Returns an index array containing all time zone identifiers
timezone_identifiers_list()
returns an index array containing all time zone identifiers.
Output all time zones in Asia:
<?php print_r ( timezone_identifiers_list ( 16 ) ) ; ?>
Try it yourself
timezone_identifiers_list ( what , country ) ;
parameter | describe |
---|---|
What |
Optional. Specify the DateTimeZone class constant
|
country | Optional. Specifies two letters of ISO 3166-1 compatible country code. |